#include <iostream>
using namespace std;

void main()
{
int A = 1, B = 100;
int sum = 0;
if (A < B)
{
for (int i = A; i <= B; i++)
{
sum += i*i;
}
cout << sum << endl;
}
}
